package com.allwees.bs.module.oms.wf;

import com.allwees.core.wf.Action;
import com.baomidou.mybatisplus.core.enums.IEnum;

import java.io.Serializable;

/**
 * oms 订单 action
 *
 * @author mouhaining
 * @since 2020-01-16 14:31
 */
public enum EOmsOrderAction implements Action, IEnum<String>, Serializable {

    //===syste action
    SYSTEM_SYNC,

    //merchant ACTION
    MERCHANT_SHIPPED,
    MERCHANT_ALL_SHIPPED,


    //USER ACTION
    USER_RECEIVED,
    USER_ALL_CANCELED,


    // SYSTEM ACTION
    SYSTEM_CLOSE_BY_ALL_REFUND,
    SYSTEM_JOIN_SETTLE,
    SYSTEM_AUTO_SETTLED,
    ;

    @Override
    public String getValue() {
        return name();
    }
}
